package com.chendx.store.api.seckill;

import com.chendx.model.common.dtos.ResponseResult;
import com.chendx.model.seckill.dto.SeckillGoodsDto;

/**
 * Created by chendx on 2022/4/22.
 */
public interface SeckillGoodsControllerApi {

    /**
     * 获取时间菜单
     * @return
     */
    public ResponseResult menus();

    /**
     * 获取某个时间段的抢购商品
     * @param time
     * @return
     */
    public ResponseResult load(String time);

    /**
     * 商品预热
     * @return
     */
    public ResponseResult loadSeckillGoods();

    /**
     * 查询某个商品
     * @param time
     * @param id
     * @return
     */
    public ResponseResult loadOne(SeckillGoodsDto dto);
}
